#ifndef POOLALLOC_H_61_
#define POOLALLOC_H_61_

#if defined(WIN32) || defined(WIN64) || defined(WINCE)
    #ifdef USE_DLL
        #define DLLAPI __declspec(dllimport)
    #else
        #define DLLAPI __declspec(dllexport)
    #endif
    #else
        #define DLLAPI __attribute__((visibility("default")))
#endif

#ifdef __cplusplus
#define C_API extern "C" DLLAPI
#else
#define C_API
#endif

C_API void* pool_allocate(unsigned int len);
C_API void pool_deallocate(void* buf, unsigned int len);

#endif
